{% extends "backend/backendbase.html" %}
{% block tittle %}List Of Category{% endblock %}
{% block category_selected %}class="current"{% endblock %}
{% block table_content %}
<div id="content-table-inner">
							<!--  start table-content  -->
		<div id="table-content"><div id="table-content">
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<thead><tr>					
					<th class="table-header-check table-header-repeat"><a href="">ID</a>	</th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">Name</a></th>
					<th class="table-header-repeat line-left"><span class="none-link">View Books</span></th>
					<th class="table-header-options line-left"><span class="none-link">Options</span></th>
				</tr>				
				</thead>
				<tbody>{{var_back_category}}</tbody>
				</table>
				<!--  end product-table................................... --> 
</form>
</div>
<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
			<tbody><tr>
			<td>{{var_category_paging}}	</td>
			<td></td>
			</tr>
			</tbody></table>
<div class="clear"></div>
<script type="text/javascript">

$(document).ready(function(){

	$(".icon-2").click(function(event){

		if(!confirm("Do you want to delete this category ?")){

			event.preventDefault();

		}

	});

	

	$(".selectbox-wrapper2 ul li").click(function(){

    	if($(this).html() != "Number of rows") {

    	location.href="1?numRow="+$(this).html();

    	}

    });

});

</script></div>
{% endblock %}